Originally in qemu when a IDE dma transfer is started which is triggered
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 27 Oct 2005 16:29:39 +0000 (17:29 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 27 Oct 2005 16:29:39 +0000 (17:29 +0100)
commitac266cafdafedeed0fd4d2d55b0f9831fa4bd80a
treebcca398c9593fbea318f5cf9548dff61e794f612
parenta7da7a4ecb25ebcf3fe7fdd9fbda4bd6bd8e04d1
Originally in qemu when a IDE dma transfer is started which is triggered
by access to 0xc000 port in VMX, qemu will blocked there until it
finished. And during that block, there are extra dom switches between
dom0 and idle domain, and VMX can't be resumed. By making real IDE dma
tranfer run in another thread, qemu will return and VMX resume on time
and there are fewer cycle wasted.

Signed-off-by: Ke Yu <ke.yu@intel.com>
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
tools/ioemu/hw/ide.c